package priv.dajie.tzzq.bot.model;

import priv.dajie.tzzq.spider.model.Platform;

import java.math.BigDecimal;

/**
 * @ClassName MaxPrice
 * @Description 用于记录最高出售价格的平台及价格
 * @Author dajie
 * @Date 2019/9/16 1:23 上午
 * @Version V1.0
 **/
public class MaxPrice {
    private Platform platform;
    private BigDecimal price;

    public MaxPrice(Platform platform, BigDecimal price) {
        this.platform = platform;
        this.price = price;
    }

    public Platform getPlatform() {
        return platform;
    }

    public BigDecimal getPrice() {
        return price;
    }

    @Override
    public String toString() {
        return "MaxPrice{" +
                "platform=" + platform +
                ", price=" + price +
                '}';
    }
}
